Comparador

## Class DefaultComparator<E extends java.lang.Comparable<E>>

- java.lang.Object
- - Comparador.DefaultComparator<E>

- All Implemented Interfaces:
    java.util.Comparator<E>

      public class DefaultComparator<E extends java.lang.Comparable<E>>
      extends java.lang.Object
      implements java.util.Comparator<E>

  Clase que modela un comparador por defecto. Asume el tipo de dato E, comparable.
  Author:
    FJoaquin (federico.joaquin@cs.uns.edu.ar)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultComparator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(E o1, E o2)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.util.Comparator

      `comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- - ### Constructor Detail

    - #### DefaultComparator

          public DefaultComparator()

  - ### Method Detail

    - #### compare

          public int compare(E o1,
                             E o2)

      Specified by:
        `compare` in interface `java.util.Comparator<E extends java.lang.Comparable<E>>`